<link rel="stylesheet" href="css/thickbox.css" type="text/css" media="screen" />
<script language="JavaScript" type="text/javascript" src="js/jquery-latest.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>

<script language="JavaScript">
var paramValidated = true;
	
function showReport()
{
	var username= document.getElementById("user_name").value;
	var param1 = "&fname="+document.getElementById("first_name").value+"&lname="+document.getElementById("last_name").value
	var param="&username="+username+"&empcode="+document.getElementById("emp_code").value;
	param = param+param1;
	var src ="/birt/frameset?__report=questionAnalysis.rptdesign&title=Question%20wise%20Report"+param;
	document.getElementById("reportURL").value = src;
}
</script>
<input name="reportURL"  id="reportURL" type="hidden"  />

	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td>
	    	<table width="700px" border="0" cellspacing="0" cellpadding="0">
	  			<tr>
					<jsp:include page="reportActionTab.jsp"/>	
	  			</tr>
			</table>
		</td>
  	</tr>
  	<tr>
		<td class="formbg" valign="top">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
    				<td>
    					<table width="100%" border="0" cellspacing="4" cellpadding="0">
  							<tr>
    							<td>&nbsp;</td>
								<td>&nbsp;</td>
    							<td>&nbsp;</td>
								<td>&nbsp;</td>
							    <td>&nbsp;</td>
							    <td>&nbsp;</td>
  							</tr>
							<tr>
    							<td colspan="6"><jsp:include page="showErrorMessage.jsp" /></td>
							</tr>
						  	<tr>
								<td>
									<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td class="formText">First Name</td>
											<td><input name="first_name" id="first_name" class="form1" maxlength="20"/></td>
											<td class="formText">Last Name</td>
											<td><input name="last_name" id="last_name" class="form1" maxlength="20"/></td>
										</tr>
										<tr>
											<td height="5" colspan="4" valign="top"></td>
										</tr>
										<tr>
											<td class="formText">User Name</td>
											<td><input name="user_name" id="user_name" class="form1" maxlength="20"/></td>
											<td class="formText">Emp. Code/Role No.</td>
    										<td><input name="emp_code" id="emp_code" class="form1"/></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="25" colspan="4" valign="top">&nbsp;</td>
							</tr>
							<tr>
								<td height="25" colspan="4" align="center" valign="top">
									<a onclick="javascript:showReport();" style="" href="jsp/reportLightBox.jsp?height=520&width=770&modal=true"  class="thickbox">
									<input type="button" class="imageButton" value="Show" >
									</a>
								</td>
							</tr>
							<tr>
								<td height="25" colspan="4" align="center" valign="top" >&nbsp;</td>
							</tr>	
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>						